package org.msi.bayesiannetwork;

/**
 * <p>Exception used by {@link BayesianNetwork} to indicate that specified node does not exists.</p>
 *
 * @author Jakub Narloch
 * @version 1.0
 */
public class NodeNotFoundException extends Exception {

    /**
     * <p>Creates new instance of {@link NodeNotFoundException} class with detailed error message.</p>
     *
     * @param message the detailed error message
     */
    public NodeNotFoundException(String message) {
        super(message);
    }

    /**
     * <p>Creates new instance of {@link NodeNotFoundException} class with detailed error message and inner cause.</p>
     *
     * @param message the detailed error message
     * @param cause   the inner cause
     */
    public NodeNotFoundException(String message, Throwable cause) {
        super(message, cause);
    }
}
